package com.infra.micro.oss.model.vo;

import com.infra.common.resp.PrintFriendliness;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

@ApiModel(value = "FileInfoVO", description = "文件基础信息视图对象")
public class FileInfoVO extends PrintFriendliness {
    @ApiModelProperty(name = "sha", value = "文件SHA值")
    private String sha;

    @ApiModelProperty(name = "fileId", value = "文件唯一标识ID")
    private Long fileId;

    @ApiModelProperty(name = "size", value = "文件大小")
    private Long size;

    @ApiModelProperty(name = "mimeType", value = "文件MIME类型")
    private String mimeType;

    @ApiModelProperty(name = "md5", value = "文件MD5值")
    private String md5;

    @ApiModelProperty(name = "thumbnail", value = "缩略图尺寸列表以逗号隔开（w*h格式）")
    private String thumbnail;

    @ApiModelProperty(name = "createTime", value = "创建时间")
    private Date createTime;

    public String getSha() {
        return sha;
    }

    public void setSha(String sha) {
        this.sha = sha;
    }

    public Long getFileId() {
        return fileId;
    }

    public void setFileId(Long fileId) {
        this.fileId = fileId;
    }

    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }

    public String getMimeType() {
        return mimeType;
    }

    public void setMimeType(String mimeType) {
        this.mimeType = mimeType;
    }

    public String getMd5() {
        return md5;
    }

    public void setMd5(String md5) {
        this.md5 = md5;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getThumbnail() {
        return thumbnail;
    }

    public void setThumbnail(String thumbnail) {
        this.thumbnail = thumbnail;
    }
}
